#include <iostream>

using namespace std;

int main ()
{
double num1;
double num2;
char redo;
char operation;
do
{   system ("cls");
    system ("title calculator");
	cout << "please enter your calculation" << endl;
	cin >> num1 >> operation >> num2;
	switch(operation){
    case '+':
	           cout << "=" << num1 + num2 << endl;
		       break;
    case '-':
	           cout << "=" << num1 - num2 << endl;
		       break;
    case '*':
	           cout << "=" << num1 * num2 << endl;
		       break;
    case '/':
	           cout << "=" << num1 / num2 << endl;
		       break;

	                 }
	                  cout << "do you want to calculate something else? (y/n)" << endl;
	                  cin >> redo;
    }
    while (redo=='y' || redo=='y');
}